<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Chameleon-Mini: LED functionality</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Chameleon-Mini
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="index.html">index</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">LED functionality </div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>For giving user feedback, ChameleonMini provides two LEDs that can be configured to indicate various conditions, events, or internal state changes of ChameleonMini: a red LED and a green LED. Their individual configuration is controlled with the commands <code>LEDRED</code> and <code>LEDGREEN</code>, which can be called in the getting ("?"), setting ("=") and suggesting ("=?") variants.</p>
<p>The following table shows the currently supported LED functions. </p><table class="doxtable">
<tr>
<th>Condition/Event </th><th>Description  </th></tr>
<tr>
<td><code>NONE</code> </td><td>Nothing happens, the LED remains dark. </td></tr>
<tr>
<td><code>POWERED</code> </td><td>The LED lights up, if the ChameleonMini is powered by USB or by battery. </td></tr>
<tr>
<td><code>TERMINAL_CONN</code> </td><td>The LED is turned on when the ChameleonMini is connected via USB and is turned off when no USB connection is established. </td></tr>
<tr>
<td><code>TERMINAL_RXTX</code> </td><td>The LED blinks shortly when sending or receiving data via the USB interface. </td></tr>
<tr>
<td><code>SETTING_CHANGE</code> </td><td>The LED blinks one time if the new setting is setting 1, two times for setting 2, ..., eight times for setting 8. </td></tr>
<tr>
<td><code>MEMORY_STORED</code> </td><td>The LED flashes everytime when a setting is stored to the permanent flash. This is currently the case when calling the command <code>STORE</code>, the button event <code>STORE_MEM</code> occurs or the setting is changed. </td></tr>
<tr>
<td><code>MEMORY_CHANGED</code> </td><td>The LED turns on when the content of the FRAM has been modified and is turned off when the currently active setting is written to the permanent Flash memory. Thus, this function indicates when the current content has been changed. </td></tr>
<tr>
<td><code>CODEC_RX</code> </td><td>The LED flashes when the currently active codec (e.g. ISO14443A emulation) receives data via the RFID interface. Note that this is implemented on the codec layer and the flashing is triggered before the received data is interpreted by the application. </td></tr>
<tr>
<td><code>CODEC_TX</code> </td><td>The LED flashes when the currently active codec sends data via the RFID interface. This function is also implemented on the codec layer. </td></tr>
<tr>
<td><code>FIELD_DETECTED</code> </td><td>The LED is turned on, if a reader field is detected via the RSSI module (when the RSSI value hits a hardcoded threshold, it is assumed that there is a reader field). It is irrelevant whether the field comes from another reader or from the ChameleonMini itself. </td></tr>
<tr>
<td><code>LOGMEM_FULL</code> </td><td>Lights up the LED, if the SRAM log memory is full. </td></tr>
</table>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Mar 17 2022 12:03:24 for Chameleon-Mini by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
